package com.gree.flowable.app.pojo.ex;

import org.flowable.ui.modeler.model.ModelRepresentation;

public class ModelExUser extends ModelRepresentation {
    private String userId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public ModelRepresentation getCreateModel(){
        ModelRepresentation model = new ModelRepresentation();
        model.setName(this.name);
        model.setKey(this.key);
        model.setDescription(this.description);
        model.setLatestVersion(false);
        model.setVersion(0);
        model.setModelType(0);
        return model;
    }
}
